const Service = require('egg').Service

class LearningService extends Service {
  async getLearningRecord() {
    const {ctx} = this
    return await ctx.model.LearningRecord.findAll()
  }
}

module.exports = LearningService